const mongoose = require('mongoose')

const IP = 'localhost'
const PORT = '27017'
const DB_NAME = 'genshinImpact'

//连接数据库
module.exports = mongoose.connect(`mongodb://${IP}:${PORT}/${DB_NAME}`,{socketTimeoutMS:3000})

